﻿<?xml version="1.0" encoding="utf-8" ?>
<grid>
  <actions parameters="NodeID">
    <action name="view" caption="$general.view$" icon="View.png" />
  </actions>
  <columns>
    <column source="##ALL##" externalsourcename="DocumentName" caption="$unigrid.events.columns.eventname$" wrap="false" sort="DocumentName" >
      <filter type="text" source="DocumentName" />
      <tooltip source="##ALL##" externalsourcename="eventtooltip" encode="false"  width="0"  />
    </column>
    <column source="EventDate" externalsourcename="eventdate"  caption="$unigrid.events.columns.eventdate$" wrap="false" width="100%">
      <tooltip source="EventDate" externalsourcename="eventdatetooltip" />
    </column>
    <column source="EventCapacity" caption="$unigrid.events.columns.eventcapacity$" wrap="false" >
      <filter type="integer" />
    </column>
    <column source="AttendeesCount" caption="$unigrid.events.columns.eventregistered$" wrap="false">
      <filter type="integer" />
    </column>
    <column source="EventOpenFrom" externalsourcename="eventopenfrom" caption="$unigrid.events.columns.eventopenfrom$" wrap="false">
      <tooltip source="EventOpenFrom" externalsourcename="eventopenfromtooltip" />
    </column>
    <column source="EventOpenTo" externalsourcename="eventopento" caption="$unigrid.events.columns.eventopento$" wrap="false">
      <tooltip source="EventOpenTo" externalsourcename="eventopentotooltip" />
    </column>
  </columns>
  <objecttype name="cms.bookingeventlist" columns="NodeID, DocumentName, SiteName, DocumentNamePath, DocumentCulture, EventDate, EventCapacity, AttendeesCount, EventOpenFrom, EventOpenTo" />
  <options>
    <key name="DisplayFilter" value="true" />
  </options>
</grid>
